package com.future.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.future.common.api.admin.entry.SysDict;
import com.future.common.api.admin.entry.SysDictDetails;

import java.util.List;

/**
 * @ClassName : SysDictDetailsService
 * @Author : lby
 * @Date: 2020/12/17 9:54
 * @Description :
 */
public interface SysDictDetailsService extends IService<SysDictDetails> {
    /**
     * 查询字典项明细
     */
    List<SysDictDetails> getDetails(SysDict sysDict);

    /**
     * 添加字典项
     */
    int saveDetails(SysDictDetails sysDictDetails);

    /**
     * 插入关系
     */
    Boolean insertRevolation(SysDictDetails sysDictDetails);

    /**
     * 编辑字典项
     */
    Boolean editDetails(SysDictDetails sysDictDetails);

    /**
     * 删除字典项
     */
    Boolean delDetails(SysDictDetails sysDictDetails);

    /**
     * 删除关系
     */
    Boolean delRevolation(SysDictDetails sysDictDetails);
}
